﻿using System;
using WindowsGame.Common.Managers;
using NUnit.Framework;

namespace WindowsGame.UnitTests.Managers
{
	[TestFixture]
	public class TextManagerTests :BaseUnitTests
	{
		[SetUp]
		public new void SetUp()
		{
			TextManager = new TextManager();
			base.SetUp();
		}

		[Test]
		public void InitializeBuildTest()
		{
			const String assemblyName = "WindowsGame, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null";
			TextManager.InitializeBuild(assemblyName);
			Assert.That("1.0.0", Is.EqualTo(TextManager.BuildVersion));
		}
	}
}